package org.wlc.demov1Impl.cuisine;

import org.wlc.demov1Impl.cook.ICook;

/**
 * @author 王立朝
 * @date 2022/5/16
 * @description: 江苏菜的实现类
 */
public class JiangSuCuisine implements ICuisine{
    private ICook iCook;

    public JiangSuCuisine(ICook iCook) {
        this.iCook = iCook;
    }

    /**
     * 烹饪，制作
     */
    @Override
    public void cook() {
        iCook.doCooking();
    }
}
